/*
 * SoC Regulator driver support
 *
 * Copyright (c) 2013 Ingenic Semiconductor Co.,Ltd
 * Author: yqfu <yqfu@ingenic.cn>
 * Based on: u-boot-ak47/include/regulator.h
 *           Written by Kage Shen <kkshen@ingenic.cn>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __REGULATOR_H__
#define __REGULATOR_H__

enum regulator_outnum { REGULATOR_CORE = 1, REGULATOR_MEM, REGULATOR_IO };

int regulator_init(void);
int regulator_set_voltage(enum regulator_outnum outnum, int vol_mv);

#endif
